<!DOCTYPE html>
<html>
    <head>
        <style type="text/css">
        h1 {
            background-image: url(./image/wolf.jpg);
            background-repeat: no-repeat;
            padding:20px;
            color:blueviolet;
        }
        h2 {
            background-image: url(./image/wolf.jpg);
            background-repeat: no-repeat;
            margin: 20px;
            color:brown
        }
        </style>
    </head>
    <body>
        <h1>我有内边距</h1>
        <h2>我有外边距</h2>
    </body>
</html>

